home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / word / textcn.zip / TEXTCON.DOC < prev    next >
Text File  |  1993-01-04  |  68KB  |  1,343 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.        TextCon 1.7 Payment Form
  8.        --------------------------
  9.  
  10.        NEW!  Payment for TextCon or TextDCA now entitles you to a free
  11.        CompuServe IntroPak, including a $15 credit toward on-line time!
  12.  
  13.          Name ____________________________________________________________
  14.  
  15.          Company _________________________________________________________
  16.  
  17.          Address _________________________________________________________
  18.  
  19.          City ________________________________ State ______ Zip __________
  20.  
  21.                                          Country _________________________
  22.  
  23.        NUMBER OF COPIES                         (DISKETTE SIZE __________)
  24.              _____ TextCon @$_____($25/copy suggested)
  25.              _____ TextDCA @$35/copy (includes all features of TextCon)
  26.  
  27.        TOTAL PAYMENT  $_____
  28.        Payment of $25 or more per copy entitles the purchaser to a printed
  29.        manual, the current release of TextCon or TextDCA without the
  30.        on-screen payment reminder, and a free CompuServe IntroPak.
  31.  
  32.        SALES TAX     _______  (Michigan residents only, 4%)
  33.  
  34.        OVERSEAS
  35.        SHIPPING      _______  ($5 per order)
  36.  
  37.        PAYMENT METHOD:
  38.  
  39.        ___  Check enclosed (US Funds):
  40.  
  41.        ___  Bill company (enclose purchase order, add $5 processing fee)
  42.  
  43.        ___  Charge VISA / MasterCard
  44.  
  45.             Card # __________________________________  Expires ___________
  46.  
  47.             Signature ____________________________________________________
  48.  
  49.        Call (517) 332-4353 to pay by MasterCard or VISA, or send your payment
  50.        or purchase order to:
  51.           CrossCourt Systems
  52.           1521 Greenview Ave.
  53.           East Lansing, MI  48823
  54.  
  55.        Prices are in U.S. dollars and include shipping within North America.
  56.  
  57.        Foreign orders:   payment  must be by credit card, international money
  58.        order in  U.S. dollars,  or by  check in  U.S. dollars drawn on a U.S.
  59.        bank.  Payment must also include $5 shipping for airmail delivery.
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                                     TextCon 1.7
  67.                               the ASCII File Converter
  68.                            Another Shareware Product from
  69.                                  CrossCourt Systems
  70.  
  71.                    Member, Association of Shareware Professionals
  72.  
  73.  
  74.  
  75.                                  TABLE OF CONTENTS
  76.  
  77.           PURPOSE.................................................1
  78.  
  79.           TextDCA.................................................1
  80.  
  81.           FUNCTIONS...............................................2
  82.  
  83.           FILE FORMATS............................................3
  84.  
  85.           USE.....................................................4
  86.  
  87.           GENERAL CONVERSION PROBLEMS.............................5
  88.  
  89.           OPTIONS.................................................7
  90.  
  91.               BASIC OPTIONS.......................................7
  92.                   /W       sloppy Wordstar input..................7
  93.                   /R       soft Returns in output file............8
  94.                   /S#      Split long lines.......................8
  95.                   /K       Keep selected elements.................9
  96.  
  97.               LITTLE-USED, SPECIAL-PURPOSE OPTIONS...............11
  98.                   /T#      replace Tabs with spaces..............11
  99.                   /1, /2   line spacing of input file............12
  100.                   /E       drop End-of-sentence spaces...........13
  101.                   /P#      Paragraph spacing in output file......13
  102.                   /B       Block-style input file................13
  103.                   /I#      first-line Indent in output file......13
  104.                   /X, /Y   line-ending hYphen processing.........14
  105.  
  106.               EXPERT OPTIONS.....................................14
  107.                   /L#      cutoff Length.........................14
  108.                   /H#, /F# remove Headers or Footers.............15
  109.                   /Z#      end-of-paragraph marker in input file.16
  110.  
  111.           OTHER USES FOR TextCon.................................16
  112.  
  113.           REVISION HISTORY.......................................18
  114.  
  115.           DISTRIBUTION AND SUPPORT...............................20
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.        PURPOSE:
  123.  
  124.  
  125.        Virtually all  word processors  can import ASCII files, but anyone who
  126.        has tried  it knows  that the  results are  often less  than  optimal.
  127.        Imported ASCII  files almost  always require  a great  deal of  manual
  128.        "cleaning up"   to  get them into the desired format.  The most common
  129.        problems include  unwanted hard  carriage returns, extra blank spaces,
  130.        and extra blank lines.
  131.  
  132.        TextCon is  a file pre-processor for MSDOS computers that does most of
  133.        this cleaning  up for  you, before  you import  the file  to your word
  134.        processor.   The ASCII  files that  it produces  are in a form that is
  135.        much more  suitable for  importation to most word processors.  TextCon
  136.        does not  eliminate all  manual editing,  but it  makes the  job  much
  137.        easier.
  138.  
  139.        TextCon has  tremendous power  and flexibility that can also be useful
  140.        for other  tasks involving  data base  files, desktop  publishing, and
  141.        program editing.   TextCon  users have  found the  program helpful for
  142.        many  kinds   of  file   manipulations,  such   as   WordStar-to-ASCII
  143.        conversion, adding line feeds where only carriage returns are present,
  144.        expanding tabs to spaces, removing all blank lines from a file, etc.
  145.  
  146.        The program  is written in C, using the DeSmet C compiler, and runs on
  147.        most MSDOS machines.
  148.  
  149.  
  150.  
  151.        TextDCA:
  152.  
  153.  
  154.        Also available  from CrossCourt  Systems is TextDCA, which has all the
  155.        features of  TextCon, but  can also write files in IBM DCA/RFT format.
  156.        If you  have a  formatted  ASCII  file,  TextDCA  will  preserve  such
  157.        characteristics as  indents, centering,  and tabs in the DCA/RFT file.
  158.        This file  can then be imported to any word processor that will accept
  159.        "revisable-form-text", or DCA/RFT, files.  This includes Word Perfect,
  160.        Microsoft  Word,   IBM  Displaywrite,  MultiMate,  PC-Write,  XyWrite,
  161.        Volkswriter 3,  WordStar 2000,  and many other popular word processors
  162.        for the  IBM PC.   The  new document will contain the correct codes to
  163.        recreate the formatting of the ASCII file.
  164.  
  165.        As helpful  as this  is in  certain cases, there may be times when the
  166.        additional formatting  preserved by  using  this  transfer  method  is
  167.        undesirable.   If you  want the  final document to look different than
  168.        the ASCII  file, you  may find that the presence of the old formatting
  169.        codes hinders  your reformatting.   In  this case,  you will find that
  170.        TextDCA's (or TextCon's) standard ASCII conversion will perform all of
  171.        the cleaning you need.
  172.  
  173.        Because it  offers you  this choice of translation methods, TextDCA is
  174.        simply the  best program available for importing formatted ASCII files
  175.  
  176.  
  177.  
  178.        TextCon File Converter                                               2
  179.  
  180.  
  181.        to a word processor.  TextDCA also includes a menu-driven mode (on PC-
  182.        compatibles  only)   which  simplifies  the  selection  of  processing
  183.        options.   TextDCA is  not shareware, but can be ordered directly from
  184.        CrossCourt Systems for $35.
  185.  
  186.  
  187.  
  188.        FUNCTIONS:
  189.  
  190.  
  191.        The functions performed by TextCon fall into five main categories:
  192.  
  193.        1.  Removing carriage returns
  194.  
  195.            The most  common problem  when importing  ASCII  files  into  word
  196.            processors is  that each line from the original file will end in a
  197.            "hard" carriage  return.   In most  cases these have to be removed
  198.            manually in  order to  get the  document formatted properly on the
  199.            new word  processor.   TextCon uses  a sophisticated  algorithm to
  200.            determine which sections of text constitute "paragraphs", and then
  201.            it removes  all carriage  returns except  those  at  the  ends  of
  202.            paragraphs.   (For this purpose, a paragraph is defined as a block
  203.            of text  where it  is desirable  for words to wrap to following or
  204.            previous lines when editing or formatting changes are made.)
  205.  
  206.            TextCon can  cope  with  almost  any  paragraph  format  including
  207.            difficult ones  like  fully  indented  (nested),  hanging  indent,
  208.            outline style,  etc.   It does  not depend  on double  spacing  or
  209.            first-line indentation,  although these  are recognized.   It will
  210.            handle print-formatted  files (i.e., those having a left margin of
  211.            blanks), as well as the totally unformatted files used as input to
  212.            formatters like NROFF (as long as they use "dot" commands).  It is
  213.            designed to  recognize header  lines, tables,  etc. and will avoid
  214.            reformatting them.
  215.  
  216.            (Of course,  document formats  vary widely,  and it  really  takes
  217.            human  intelligence   to  recognize  paragraph  breaks  with  100%
  218.            accuracy.   TextCon will  occasionally make  mistakes when dealing
  219.            with particularly tricky formats.)
  220.  
  221.        2.  Adding carriage returns
  222.  
  223.            TextCon will  also do  the opposite  process if  you wish,  adding
  224.            carriage returns  to files  that have  them only  at the  ends  of
  225.            paragraphs.    Or  it  can  deal  with  special  file  formats  by
  226.            substituting carriage  returns for  some other  special  character
  227.            that is used to represent a paragraph end.
  228.  
  229.        3.  Removing blanks
  230.  
  231.            An ASCII  file may  have extraneous  blanks that cause problems if
  232.            they are imported to a word processor.  There may be blanks at the
  233.            beginnings of  lines for  a left  margin or for indented or nested
  234.  
  235.  
  236.  
  237.        TextCon File Converter                                               3
  238.  
  239.  
  240.            text.   Files from  mainframes  often  have  lines  with  trailing
  241.            blanks.  There may be extra blanks within lines for justified text
  242.            or between  columns of  a table  (where tabs  are more desirable).
  243.            TextCon removes extraneous blanks and, where appropriate, replaces
  244.            them with tabs, thus saving manual editing time.
  245.  
  246.        4.  Removing extraneous lines
  247.  
  248.            Some ASCII  files have  extraneous lines that TextCon will remove.
  249.            Print-formatted files,  for  example,  sometimes  have  additional
  250.            lines inserted  solely for  underlining or boldface.  TextCon will
  251.            remove these  so you  don't have  to.   TextCon recognizes double-
  252.            spaced files  and converts  them to  single spacing.   Lines  that
  253.            consist  solely  of  "dot"  commands  (like  WordStar's  .PA)  are
  254.            converted to  blank lines.   You can also remove (or add) lines by
  255.            setting the  spacing between  paragraphs to any specific number of
  256.            blank lines you wish.
  257.  
  258.            Consecutive runs  of more than two blank lines are reduced to two,
  259.            which may  help with files that have been formatted for a printer.
  260.            TextCon also  tries to  recognize page  breaks and  eliminate  all
  261.            blank lines  between pages  if possible.   The  situation is  more
  262.            complicated if  the file contains headers or footers, but there is
  263.            an option which can, in certain cases, remove these as well.
  264.  
  265.        5.  Removing or converting characters
  266.  
  267.            TextCon translates all characters in WordStar files to their ASCII
  268.            equivalents.   It also  removes all  non-printing ASCII characters
  269.            (except tabs)  unless you  ask that  they be  kept.   It has three
  270.            optional methods  for dealing  with line-ending  hyphens.  TextCon
  271.            does not  alter or  remove the IBM extended ASCII characters, used
  272.            for math symbols, letters from foreign alphabets, etc.
  273.  
  274.  
  275.  
  276.        FILE FORMATS:
  277.  
  278.  
  279.        TextCon was  designed to  be as automatic as possible in its operation
  280.        so it  can be  used by  someone with  very little  knowledge about the
  281.        files being  converted.   Although it has many options for specialized
  282.        kinds of  conversions, it  will work  very well  on a  wide variety of
  283.        files without the use of any of the options.
  284.  
  285.        The options are described in a later section.  If TextCon doesn't seem
  286.        to work  quite as you want it to, first read the section on CONVERSION
  287.        PROBLEMS.   If this  doesn't help,  you may  want to  read the  option
  288.        descriptions.   They include more detailed information about the kinds
  289.        of changes  TextCon makes  to a  file and  how you  can control  these
  290.        changes.
  291.  
  292.  
  293.  
  294.        TextCon File Converter                                               4
  295.  
  296.  
  297.        TextCon is  useful for cleaning up text files before importing them to
  298.        many microcomputer  word processors,  including Microsoft  Word,  Word
  299.        Perfect, and  IBM Displaywrite,  as well  as  some  office  automation
  300.        systems, such  as NBI.   If  a word  processor exhibits  problems with
  301.        "hard carriage  returns" when you import ASCII files, then the chances
  302.        are that TextCon will help.
  303.  
  304.        Some PC  word processors,  including Volkswriter,  MultiMate, and  PC-
  305.        Write, actually require the hard returns when importing an ASCII file,
  306.        and have trouble with files that do not include them.  TextCon can add
  307.        carriage returns  to files  so that  these word  processors can import
  308.        them successfully.   This  is not  necessary, of  course, if  you  use
  309.        TextDCA to create a DCA/RFT file for importation to these programs.
  310.  
  311.        TextCon is  designed primarily  to read  ASCII files, but it will also
  312.        accept WordStar  files, including those from version 4.0.  However, it
  313.        is not  optimized for  WordStar  files  to  the  extent  that  it  can
  314.        translate dot  commands or  imbedded codes  for underlining, boldface,
  315.        etc.   Both the  commands and  the codes  are simply  removed from the
  316.        file, and  you have  to manually add the appropriate formatting to the
  317.        new document.   (The /KC option will keep codes in the converted file,
  318.        and the /KD option will do the same thing for dot commands.)
  319.  
  320.        If you  are importing  formatted ASCII  files to a word processor that
  321.        will accept  DCA/RFT format files, TextDCA offers an even higher level
  322.        of performance than TextCon itself.
  323.  
  324.  
  325.  
  326.        USE:
  327.  
  328.  
  329.        To run the program, use the command form:
  330.            TEXTCON [options] infile outfile
  331.  
  332.        The "options"  designate specific  types of  processing that  you want
  333.        done, and  are chosen from the list in a later section of this manual.
  334.        If you  specify an  illegal option, such as /A or /?, the program will
  335.        display  the   legal  options.     Again,  TextCon  will  handle  most
  336.        conversions very well with no options, so you don't have to read about
  337.        all of the options in order to use the program.
  338.  
  339.        The first  filename is  the name  of the input file, the second is the
  340.        output file.   The  file names  can include wildcards, employed in the
  341.        same way as with the DOS COPY command.  If a file already exists under
  342.        the output  name, it  will be  replaced without warning.  If the input
  343.        and output  names are  the same,  TextCon will  not proceed  with  the
  344.        conversion.
  345.  
  346.        A typical command with no options would be as follows:
  347.            TEXTCON A:*.* C:\DOCS
  348.  
  349.  
  350.  
  351.        TextCon File Converter                                               5
  352.  
  353.  
  354.        The options  are identified  by a  preceding slash or hyphen as a flag
  355.        character, so a command with options might look as follows:
  356.            TEXTCON /T5 /B TEXT.DOC B:TEXT.ASC
  357.        Options can  appear anywhere in the command line, so the preceding and
  358.        following commands are equivalent:
  359.            TEXTCON TEXT.DOC /T5 B:TEXT.ASC /B
  360.  
  361.        Multiple options  can be concatenated, using a single slash or hyphen,
  362.        to appear as follows:
  363.            TEXTCON /T5B TEXT C:\DOCS\TEXT.OUT
  364.        You must be careful when concatenating options this way, especially if
  365.        you are  using options with numeric "names" or those with sub-options.
  366.        For example,  if you  wanted to use the options /T3 /2 /KC /B, and you
  367.        combined them  as /T32KCB,  this would  be interpreted  as /T32  /KCB,
  368.        which is  very different than you intended.  If, instead, you combined
  369.        them as  /2BT3KC, they  would be  interpreted correctly.   Also,  when
  370.        interpreting an  option that  allows  sub-options,  TextCon  considers
  371.        every character up to the next blank to be a sub-option, so any option
  372.        of this  type must  either stand  alone or  be concatenated  last.  If
  373.        there is any question in your mind about this, keep all of the options
  374.        separate on  the command line.  (The menu system in TextDCA simplifies
  375.        this quite a bit.)
  376.  
  377.        The input  file must be an ASCII file or a WordStar file; TextCon will
  378.        not work  on an  internal word  processor file.  Some word processors,
  379.        including PC-Write  and Volkswriter,  always keep  their text in ASCII
  380.        files.  For other word processors, such as MultiMate, Word Perfect, or
  381.        Microsoft Word,  you will  have to  create an  ASCII copy of your file
  382.        before TextCon  will work  with it.  If you try to convert an internal
  383.        file, you may not get an error message from TextCon, but when you load
  384.        the converted  file into  another word  processor,  it  will  probably
  385.        contain gibberish.
  386.  
  387.        The output  file will still be in ASCII form, and you must treat it as
  388.        such when  loading it  into  your  word  processor.    For  some  word
  389.        processors, such  as Displaywrite  or Word  Perfect, you  must  use  a
  390.        special command.   For others, such as Microsoft Word or WordStar, you
  391.        can load it as you would any other document file.
  392.  
  393.  
  394.        GENERAL CONVERSION PROBLEMS:
  395.  
  396.  
  397.        Many of TextCon's decisions are based on its analysis of the beginning
  398.        of your input file.  It analyzes approximately four pages of text, but
  399.        this will  vary from file to file.  If your file has sections that are
  400.        very distinct  in formatting,  the parameters  that TextCon determines
  401.        from the  beginning of  your file  may not be accurate for the rest of
  402.        the file.   In  these  cases,  TextCon  will  perform  better  if  you
  403.        subdivide the input file and process each distinctly formatted section
  404.        separately.
  405.  
  406.  
  407.  
  408.        TextCon File Converter                                               6
  409.  
  410.  
  411.        TextCon will  insert an  extra space  following the hyphen in any word
  412.        that is  hyphenated at  the end  of a line.  For example, the word ex-
  413.        ample will  be converted to ex- ample.  You can find these and convert
  414.        them fairly  easily by  searching for  "- "  (a hyphen  followed by  a
  415.        blank).   It could have been designed to remove hyphens at the ends of
  416.        lines, but then it would also have removed required hyphens, as in ex-
  417.        president.   You may  want to  use the /X or /Y options to change this
  418.        behavior.
  419.  
  420.        When a  converted ASCII  file is  loaded into  the new word processor,
  421.        tables may  have their  columns too  close together  or too far apart.
  422.        This is  because TextCon  puts tab  characters into tables in an ASCII
  423.        file, but  it cannot  set the positions for the tab stops.  As soon as
  424.        you set  the tab  stops where  you want them, the columns will line up
  425.        correctly.   By contrast,  when TextDCA writes a DCA/RFT file, it also
  426.        preserves the  settings  of  the  tab  stops,  thus  saving  you  some
  427.        additional time.   If  you don't  want tab  characters substituted for
  428.        spaces, you can use the /KS or /T# options.
  429.  
  430.        Sometimes TextCon  will fail  to remove  the carriage returns within a
  431.        nested or  fully-indented paragraph.  A common reason for this is that
  432.        the person  who created  it started  each line with a tab, rather than
  433.        using an  indent command.   You  can get  around this by using the /T#
  434.        option with some suitable tab value (usually 5 is a good choice).
  435.  
  436.        This problem  will also  occur if  the paragraph  is indented  a large
  437.        amount from the right margin, making the lines shorter than the cutoff
  438.        length.   Correct this with the /L# option, using a numeric value that
  439.        is less  than the  shortest line.   Be  sure to  take into account the
  440.        document margin when calculating this number.
  441.  
  442.        In certain  cases, TextCon  will  drop  whole  lines  from  the  file.
  443.        Whenever it  drops lines,  it will  display a  message on  the  screen
  444.        warning you that this has happened.  This dropping of lines is usually
  445.        desirable, but,  if it  is not,  you can  simply  rerun  TextCon  with
  446.        different options  that will prevent it from happening.  There are two
  447.        possible causes for this:
  448.        1.  The /F and /H options, of course, are intended to cause TextCon to
  449.            drop  lines  --  those  identified  as  header  or  footer  lines.
  450.            Occasionally the  use of  these options may cause text lines to be
  451.            dropped because  they are  mistaken for  headers or footers.  This
  452.            can be corrected by simply not using these options.
  453.        2.  TextCon automatically  drops  lines  that  are  inserted  for  the
  454.            purpose of  overprinting a  previous line.   These are not usually
  455.            wanted in  a converted  document.  If you want to force TextCon to
  456.            keep overprinted lines, use the /KO option.
  457.  
  458.  
  459.  
  460.        TextCon File Converter                                               7
  461.  
  462.  
  463.        OPTIONS:
  464.  
  465.  
  466.        Before converting  a file,  TextCon analyzes  the initial  portion  to
  467.        determine certain overall characteristics of the document.  During the
  468.        conversion, the  program applies  a complex set of rules on a line-by-
  469.        line  and   character-by-character  basis   to   determine   localized
  470.        formatting information.   Because  of this,  the  optional  parameters
  471.        described here  are not  usually needed.   In  any  case,  you  should
  472.        certainly try  a few  conversions before  using any  of these options.
  473.        Unless you  notice problems  or are  simply curious about the options,
  474.        you can ignore the following section.
  475.  
  476.        The following  describes each  of the  conversion options available in
  477.        the program.   Note  that some of them are inter-related or similar in
  478.        function.   The descriptions  are organized  into three  groups.   The
  479.        first group  (BASIC OPTIONS)  contains the  options that are used most
  480.        often.   The options  in the  next group (LITTLE-USED, SPECIAL-PURPOSE
  481.        OPTIONS) are  rarely needed,  although they  can sometimes result in a
  482.        better conversion.   This  is true of those in the third group (EXPERT
  483.        OPTIONS) as  well, but  they generally require somewhat more expertise
  484.        to use.
  485.  
  486.        The options  are shown  in upper case, but lower case is acceptable as
  487.        well.
  488.  
  489.  
  490.            BASIC OPTIONS
  491.  
  492.        1.  /W                                           sloppy Wordstar input
  493.  
  494.            When the  file  to  be  converted  is  a  WordStar  file,  TextCon
  495.            recognizes this  automatically and processes the file accordingly.
  496.            When doing  this, TextCon  assumes that  the writer  used WordStar
  497.            "correctly", taking advantage of all of its formatting abilities.
  498.  
  499.            Unfortunately, many  writers use  a word  processor as  if it were
  500.            simply a  correctable typewriter.   This  may include, among other
  501.            bad habits,  using the  space bar  to  align  text  or  to  "nest"
  502.            paragraphs.   TextCon will  not perform  very well on this type of
  503.            file, because  it is  neither a  straight ASCII  file nor  a  true
  504.            WordStar file.
  505.  
  506.            The /W  option tells  TextCon to  treat the input file as a "semi-
  507.            formatted" WordStar  file, thus correcting for these sloppy typing
  508.            habits.  If you don't know how to recognize a poorly done WordStar
  509.            file, try  the conversion  both with and without the /W option and
  510.            compare the  results.   Most users  have found that their WordStar
  511.            files convert better with the use of this option than without it.
  512.  
  513.            (For the  technically minded,  the  /W  option  tells  TextCon  to
  514.            convert all  soft spaces  and soft carriage returns to hard spaces
  515.            and hard  returns in order to determine the intended formatting of
  516.  
  517.  
  518.  
  519.        TextCon File Converter                                               8
  520.  
  521.  
  522.            the file.   TextCon then strips out any of the spaces and carriage
  523.            returns that  it determines  are not  needed.    The  most  common
  524.            undesired side-effect  of this  is that  TextCon will occasionally
  525.            make a wrong paragraphing decision.  This is most likely to happen
  526.            in a  file  with  complex  formatting,  such  as  frequent  margin
  527.            changes.)
  528.  
  529.  
  530.        2.  /R                                     soft Returns in output file
  531.  
  532.            When TextCon  determines that  a carriage return from the original
  533.            file is  not the  end of  a paragraph,  i.e. that  it is  a "soft"
  534.            return, it simply omits it from the converted file.  The /R option
  535.            causes TextCon to keep these non-paragraph-ending carriage returns
  536.            as WordStar-type  soft returns (ASCII 141 followed by ASCII 10) in
  537.            the converted file.
  538.  
  539.            This is  useful  for  importing  files  to  WordStar,  because  it
  540.            eliminates the  need  to  perform  a  reformat  (Ctrl-B)  on  each
  541.            paragraph to  make it  readable.   It is also useful for importing
  542.            text to  other programs,  such as  LePrint, which expect WordStar-
  543.            type files  containing soft returns.  If you use it when importing
  544.            to a  standard word  processor, such as Word Perfect, the WordStar
  545.            soft returns will cause peculiar results.
  546.  
  547.  
  548.        3.  /S#                                               Split long lines
  549.  
  550.            The /S#  option is  useful if  you have  a text file with carriage
  551.            returns only  at the  ends of paragraphs and a word processor such
  552.            as PC-Write  which requires  carriage returns  at the  end of each
  553.            line.   It tells  TextCon to  split each paragraph into lines of a
  554.            particular length,  given by  the numeric parameter.  For example,
  555.            /S65 says  that the  output file  should contain  lines  that  are
  556.            approximately 65 characters long.
  557.  
  558.            When you  use this  option TextCon splits lines at the first space
  559.            following the  specified length.  This means that the lines in the
  560.            file will,  on average,  be half a word longer than the length you
  561.            specify, and  some of  them may  be as much as 10 or 15 characters
  562.            longer.
  563.  
  564.            This option  will only  work on  files that  have very long lines,
  565.            that is,  those  files  where  TextCon  would  normally  keep  all
  566.            existing carriage returns.  It will not, for example, allow you to
  567.            take a  file with  paragraphs made  up of  80 character  lines and
  568.            reformat those  into paragraphs of 60 character lines.  That would
  569.            require it  to remove  some carriage returns and add others, which
  570.            it cannot  currently do.  (This can, however, be accomplished with
  571.            two passes  of the  program.  The first pass would remove carriage
  572.            returns, writing an ASCII file with very long "lines".  The second
  573.            pass, with  the /S#  option,  would  then  split  these  lines  as
  574.            desired.)
  575.  
  576.  
  577.  
  578.        TextCon File Converter                                               9
  579.  
  580.  
  581.  
  582.  
  583.        4.  /K<sub-options>                             Keep selected elements
  584.  
  585.            As mentioned  earlier, one  of TextCon's  major  functions  is  to
  586.            remove certain  unneeded elements  from your  file.  In some cases
  587.            you may  want some  of these  elements to  be kept;  the /K option
  588.            allows this.
  589.  
  590.            The /K option is a bit different from the other options in the way
  591.            it is  specified.   It has  several "sub-options"  represented  by
  592.            additional key letters, which must immediately follow the /K.  If,
  593.            for example,  you wanted  only the  S sub-option,  the full option
  594.            descriptor would  be /KS,  whereas if  you wanted  all of the sub-
  595.            options, you  would use  /KBCDMORS.   (You may  also use  the full
  596.            option more  than once on the command line, so /KB /KC /KD /KM /KO
  597.            /KR /KS would also invoke all of the sub-options.)
  598.  
  599.            The "Keep" sub-options are as follows:
  600.  
  601.            a.  R sub-option                                    (Keep) Returns
  602.  
  603.                The R  sub-option  of  Keep  instructs  TextCon  to  keep  all
  604.                carriage returns in the converted file.
  605.  
  606.                Some word  processors (including WordStar, Microsoft Word, and
  607.                the "generic  word processor format" from Word Perfect) create
  608.                ASCII files  that do  not have carriage returns at the ends of
  609.                lines, but  only at  the ends  of paragraphs.    This  greatly
  610.                simplifies the  job that TextCon has to do.  TextCon will nor-
  611.                mally recognize  these files,  and display  the  message  "All
  612.                carriage returns will be preserved."  If it does not recognize
  613.                such a  file, the  usual symptom  is that  the converted  file
  614.                frequently has  what should  be separate  paragraphs  combined
  615.                into one  paragraph.   In this case you will need to use the R
  616.                sub-option of Keep.
  617.  
  618.                This is  needed very  rarely however.  The most common use for
  619.                this sub-option  is to  take advantage  of some  of  TextCon's
  620.                other features,  such as  tab insertion  or  double-to-single-
  621.                spacing conversion, without its carriage-return stripping.
  622.  
  623.                Note that the R sub-option does not affect blank lines.  These
  624.                are still  stripped from  the  file  according  to  the  rules
  625.                explained under  the B  sub-option.   If you  want to keep all
  626.                lines intact you must use both the R and B sub-options.
  627.  
  628.            b.  B sub-option                                (Keep) Blank lines
  629.  
  630.                The B  sub-option of  Keep instructs TextCon to keep all blank
  631.                lines (except  those within  double-spaced paragraphs)  in the
  632.                converted file.
  633.  
  634.  
  635.  
  636.        TextCon File Converter                                              10
  637.  
  638.  
  639.                Normally, if  TextCon encounters  more  than  two  consecutive
  640.                blank lines  (or four  in a double-spaced document) it removes
  641.                the "extra"  ones (in  either case,  leaving only  two in  the
  642.                converted document).
  643.  
  644.                It also  tries to  recognize print-image files, i.e. ones that
  645.                contain the  actual page  breaks in the form of multiple blank
  646.                lines or  form-feed characters  at the  end of  one  page  and
  647.                beginning of  the next.   If  it does  recognize this, it will
  648.                remove  the   page  break  entirely  and  will  reconstruct  a
  649.                paragraph broken  between the  pages.  When TextCon's analysis
  650.                detects this  type of  format, it  prints a message describing
  651.                the file as "page-formatted".
  652.  
  653.                The B  sub-option of Keep overrides this blank-line stripping,
  654.                so that all blank lines are kept in the file.
  655.  
  656.            c.  S sub-option                                     (Keep) Spaces
  657.  
  658.                The S  sub-option of Keep instructs TextCon to keep all spaces
  659.                within text lines in the converted file.
  660.  
  661.                In addition  to the  substitution of  tabs for multiple spaces
  662.                (described under  the  /T#  option  below),  TextCon  normally
  663.                replaces any  set of  two or  more spaces  with a single space
  664.                unless it  is at  the end  of a  sentence.   At the  end of  a
  665.                sentence, it  replaces three  or more  spaces with  two.  This
  666.                helps with  files that  have had  spaces added  to justify the
  667.                right margin.  TextCon also removes any left margin spaces and
  668.                all trailing spaces from each line it processes.
  669.  
  670.                In some special cases this processing may be undesirable.  The
  671.                S sub-option  of Keep  overrides both the substitution of tabs
  672.                for multiple  spaces and  the deletion  of spaces, so that all
  673.                spaces within  a text  line (excluding  the  left  margin  and
  674.                trailing spaces)  are kept as found in the original file.  See
  675.                also the Keep Margin sub-option below.
  676.  
  677.            d.  M sub-option                              (Keep) Margin spaces
  678.  
  679.                The M sub-option of Keep instructs TextCon to keep spaces that
  680.                form a left margin in the converted file.  See the Keep Spaces
  681.                option just above for more on spaces.
  682.  
  683.            e.  C sub-option                              (Keep) Control codes
  684.  
  685.                The C  sub-option of  Keep forces  TextCon to keep all control
  686.                codes (ASCII characters between 1 and 31).
  687.  
  688.                TextCon normally  strips all control codes, with the exception
  689.                of tab  characters.  If you want control codes kept, use the C
  690.                sub-option.
  691.  
  692.  
  693.  
  694.        TextCon File Converter                                              11
  695.  
  696.  
  697.            f.  D sub-option                               (Keep) Dot commands
  698.  
  699.                The D  sub-option of  Keep forces  TextCon  to  keep  all  dot
  700.                commands in the converted file.
  701.  
  702.                Many word  processors use  "dot commands" to control the print
  703.                format of  a document.   TextCon normally removes dot commands
  704.                from each  file it  processes.   The D sub-option of Keep will
  705.                cause it to leave those commands in the file.
  706.  
  707.                TextCon is  fairly conservative  about removing  dot  commands
  708.                anyway, so  that it  won't accidentally  remove lines of text.
  709.                The only  lines that  will be  removed are  those that  have a
  710.                period in  column 1 and a letter in column 2, and don't extend
  711.                beyond column 12.  As a result, you may find that it sometimes
  712.                leaves dot commands in the converted file.
  713.  
  714.            g.  O sub-option                            (Keep) Overprint lines
  715.  
  716.                The  O   sub-option  of   Keep  forces  TextCon  to  keep  all
  717.                overprinted lines in the file.
  718.  
  719.                TextCon normally  removes all  overprinted lines.  Overprinted
  720.                lines often  occur in "print" files, as a method of performing
  721.                underlining or  boldface by printing over the same line twice.
  722.                In a file that contains carriage-return/line-feed pairs at the
  723.                ends of  lines (the  normal ASCII  format), TextCon recognizes
  724.                overprinted lines  as those  that end  with  only  a  carriage
  725.                return.  When a line like this is found, the following line is
  726.                removed and  a  warning  message  is  displayed.    With  some
  727.                unusual, non-standard  input file formats, this can cause loss
  728.                of text  in the conversion process.  If this should happen, or
  729.                for some  other reason you want to keep overprinted lines, use
  730.                the O  sub-option.  (Note that this uses the letter O, not the
  731.                numeral 0.)
  732.  
  733.  
  734.            LITTLE-USED, SPECIAL-PURPOSE OPTIONS
  735.  
  736.        1.  /T#                                       replace Tabs with spaces
  737.  
  738.            TextCon was  designed primarily  for importing  files to  the more
  739.            sophisticated word  processors, where  documents are often printed
  740.            with proportional  spacing.   For this kind of work, tabs are used
  741.            extensively to  position items in a document; multiple spaces will
  742.            not work  correctly.   For this  reason,  TextCon  preserves  tabs
  743.            rather than  expanding them  with blanks, unless the /T# option is
  744.            used.
  745.  
  746.            The /T#  option requires  a numeric  value  (e.g.,  /T4  or  /T0),
  747.            specifying the  number of spaces between tab stops.  The first tab
  748.            stop is  always at column one.  When a tab is found, enough spaces
  749.            are substituted  in the  converted file  to position the following
  750.  
  751.  
  752.  
  753.        TextCon File Converter                                              12
  754.  
  755.  
  756.            character at  the next  tab stop.  The default, of course, (if the
  757.            /T# option  is not  specified at  all) is that tabs are preserved,
  758.            whereas a value of zero (/T0) means they are removed entirely.
  759.  
  760.            If  the   /T#  option   is  used,  TextCon's  normal  behavior  of
  761.            substituting tabs  for multiple  spaces is  turned off also.  This
  762.            substitution is  normally done  in  three  circumstances:  at  the
  763.            beginning of  a paragraph  whose first  line is  indented; between
  764.            items in  a columnar table; and between a list-identifying number,
  765.            letter, or  symbol and  the corresponding list entry (for example,
  766.            the item "1.    /T#" above).
  767.  
  768.            This means that if you have a file that does not contain tabs, and
  769.            you simply  want to  suppress TextCon's  substitution of  tabs for
  770.            spaces, you  can use /T with any numeric value to accomplish this.
  771.            (The number  you use  doesn't really matter here, since it is used
  772.            only to determine the number of spaces to substitute when a tab is
  773.            found in the original file.)  The result of using this option will
  774.            differ slightly  from the  use of  the /KS  option, because the /T
  775.            option has  no effect  on TextCon's removal of excess spaces, such
  776.            as those used for justification.
  777.  
  778.  
  779.        2.  /1, /2                                  line spacing of input file
  780.  
  781.            TextCon is  designed to  recognize the  line  spacing  (single  or
  782.            double) used  in a  file, but  in some  rare cases  it will make a
  783.            mistake.   This will  often happen  when the  initial part  of the
  784.            document (the  part that  TextCon  analyzes  before  starting  the
  785.            conversion) has  different spacing  than the  rest.   When TextCon
  786.            finishes its analysis of a file, it displays on the screen what it
  787.            determined the  spacing to be.  If this is wrong, you will have to
  788.            use the  /1 or /2 option to specify that the input file is single-
  789.            or double-spaced.
  790.  
  791.            You can  also detect an improper spacing decision from problems in
  792.            the output  file.   The usual  symptom is  that the converted file
  793.            either will  contain many  hard carriage  returns and  be  double-
  794.            spaced, or will have many paragraphs run together.
  795.  
  796.            If TextCon's  double-space option is in effect, either through its
  797.            own decision  or because  you specified  it, single occurrences of
  798.            blank lines are totally ignored, as if they simply were not in the
  799.            file.   Two consecutive  blank lines  are treated as if there were
  800.            only a  single blank  line.   Occasionally you  may find that this
  801.            causes some  paragraphs to  run together  in the  converted  file.
  802.            This would  be most  likely to happen if single and double spacing
  803.            are mixed  in the  same document,  although normally  TextCon will
  804.            handle this correctly.
  805.  
  806.  
  807.  
  808.        TextCon File Converter                                              13
  809.  
  810.  
  811.        3.  /E                                     drop End-of-sentence spaces
  812.  
  813.            If TextCon  finds more  than one  space after  certain punctuation
  814.            marks, it  leaves exactly  two spaces, assuming it is the end of a
  815.            sentence.   The /E  option causes  it to  remove all extra end-of-
  816.            sentence spaces,  leaving only  a single  space.   This option  is
  817.            useful  for   documents  that  are  to  be  typeset,  because  the
  818.            typewriter-based  convention  of  separating  sentences  with  two
  819.            spaces is not needed for typeset material.
  820.  
  821.  
  822.        4.  /P#                               Paragraph spacing in output file
  823.  
  824.            TextCon normally  leaves paragraphs  spaced the  same way they are
  825.            spaced in  the original  file.   The usual style for single-spaced
  826.            documents has  one blank  line between  paragraphs;  double-spaced
  827.            documents usually  have no  extra blank  lines.   If your original
  828.            document has  one kind  of line  spacing and you want to print the
  829.            new document  with  different  spacing,  you  may  find  that  the
  830.            paragraph spacing is either too large or too small.
  831.  
  832.            The /P#  option tells  TextCon to  put a  specific number of blank
  833.            lines between  paragraphs in the converted document.  For example,
  834.            /P0 will  eliminate any  extra blank  lines between paragraphs, so
  835.            you might  use it  if your original file was single-spaced and you
  836.            wanted to  print the  new copy  double-spaced.   /P1 will end each
  837.            paragraph with exactly one blank line, so you might use it for the
  838.            opposite case.   (TextCon doesn't actually set the line spacing in
  839.            the converted document for you; you have to do that yourself after
  840.            you load it into the new word processor.)
  841.  
  842.            The /P#  parameter has  no effect  on paragraphs that consist of a
  843.            single line of text; those are assumed to be lists or tables whose
  844.            spacing should be preserved.
  845.  
  846.  
  847.        5.  /B                                          Block-style input file
  848.  
  849.            This option  tells TextCon  that your  file has  only  block-style
  850.            paragraphs, i.e.,  there are no paragraphs with first-line indents
  851.            or outdents.   TextCon  doesn't need  to know  this  in  order  to
  852.            process a  file, but there are some cases where it can do a better
  853.            job if it does.  This should be thought of as a little "tweak" for
  854.            those who want the absolute best performance.  If you use it for a
  855.            file that  contains non-blocked paragraphs, of course, performance
  856.            will be worse.
  857.  
  858.  
  859.        6.  /I#                               first-line Indent in output file
  860.  
  861.            As described  under the /T# option, TextCon normally substitutes a
  862.            tab character  for multiple  spaces at  the beginning  of indented
  863.            paragraphs.  The /I# option allows you to use a specific number of
  864.  
  865.  
  866.  
  867.        TextCon File Converter                                              14
  868.  
  869.  
  870.            spaces instead,  or to  convert indented paragraphs to block-style
  871.            paragraphs.
  872.  
  873.            This option  requires a  numeric value  indicating how many spaces
  874.            are to be used for indentation.  If, for example, you specify /I5,
  875.            all indented  paragraphs in  the converted file will have a first-
  876.            line indentation  of five spaces.  Using /I0 will convert indented
  877.            paragraphs to  block-style paragraphs (zero indentation).  The /I#
  878.            parameter has  no effect  at all  on paragraphs  that are  already
  879.            block-style or have hanging indents.
  880.  
  881.  
  882.        7.  /X, /Y                               line-ending hYphen processing
  883.  
  884.            As  described   under  GENERAL  CONVERSION  PROBLEMS,  line-ending
  885.            hyphens are normally preserved and a space is inserted after them,
  886.            so that you can find each one and make a decision as to whether it
  887.            needs to  be kept  in the  document.  If you already know that all
  888.            hyphens are  required hyphens  or that  all  of  them  are  "soft"
  889.            hyphens, you  can save  some editing  time by  using the  /X or /Y
  890.            options.
  891.  
  892.            The /X  option indicates that all line-ending hyphens are required
  893.            hyphens.   TextCon will leave them in the text and will not insert
  894.            a blank.   This  is useful  if you know that no "soft hyphenation"
  895.            has been performed on the file.
  896.  
  897.            The /Y  option indicates  that all  line-ending hyphens are "soft"
  898.            hyphens, and  that TextCon  should remove  them entirely.  This is
  899.            not a very useful option, because it would be a rare document that
  900.            you could safely assume had no line-ending required hyphens.
  901.  
  902.  
  903.            EXPERT OPTIONS
  904.  
  905.        1.  /L#                                                  cutoff Length
  906.  
  907.            TextCon automatically  determines a "typical" line length for your
  908.            document and  from this  calculates a  "cutoff" length used in its
  909.            paragraph-determination algorithms.  If a line is shorter than the
  910.            cutoff length, TextCon assumes that the carriage return at the end
  911.            of that line was put there intentionally, and the program will not
  912.            delete it.
  913.  
  914.            Note that  no line  is ever  truncated as a result of the "cutoff"
  915.            length.   This value  is only  used as  an aid  in deciding  which
  916.            carriage returns should be kept and which should be removed.
  917.  
  918.            You can  use the  /L# option  to override TextCon and specify your
  919.            own cutoff  length.   As you  make the  cutoff length longer, more
  920.            lines will be shorter than that length, and thus will retain their
  921.            carriage returns.
  922.  
  923.  
  924.  
  925.        TextCon File Converter                                              15
  926.  
  927.  
  928.            Note that  the length  of a  line is  not measured  from the  very
  929.            beginning of  the line  (column 1),  nor is  it measured  from the
  930.            first non-blank  character on that particular line.  The length is
  931.            measured starting  at the  left margin  of the  document, which is
  932.            determined by  the leftmost  non-blank character found anywhere in
  933.            the document.   If,  for example,  the left margin of the document
  934.            were 10  characters (meaning  the leftmost  character in  any line
  935.            occurred in  position 11),  a line with 15 leading spaces followed
  936.            by 20  characters would  have a  length of  15+20-10 = 25.  If the
  937.            cutoff length  were 26  or more,  that would be considered a short
  938.            line.
  939.  
  940.  
  941.        2.  /H#, /F#                                 remove Headers or Footers
  942.  
  943.            These are  two of  the trickier  options in TextCon, and should be
  944.            used with caution.  Their purpose is to remove running headers and
  945.            footers  from   page-formatted  files,   so  they  don't  wind  up
  946.            intermingled with the text.  They have the potential to save a lot
  947.            of manual  editing time  on some  files, but  they can  mistakenly
  948.            remove text  lines instead.   Of  course, the original file is not
  949.            modified in  any case,  so if  it doesn't  work correctly  you can
  950.            rerun TextCon without these options.
  951.  
  952.            The numeric parameter used with these options is the number of the
  953.            line on  each page  that contains  the header  or footer.   If you
  954.            don't want to figure this out yourself, you can omit the number or
  955.            use a  value of  zero, and  TextCon will  try to  determine  which
  956.            line(s) contain  the header  and/or footer.   Thus, /H3 /F64 would
  957.            ask TextCon  to remove  the third  and sixty-fourth  lines of each
  958.            page and  attempt to  join the text across page boundaries.  /F by
  959.            itself, on the other hand, would imply there was no running header
  960.            and that  TextCon should determine which line number appears to be
  961.            a footer.
  962.  
  963.            These options depend on a number of assumptions:
  964.            ∙   that your document either has exactly 66 lines per page, or it
  965.                has less  than 66 lines per page and uses form feed characters
  966.                to go to a new page (Note that if a file has "overprint" lines
  967.                without linefeeds  for the purpose of underlining or boldface,
  968.                these will  be stripped,  and don't count towards the 66 lines
  969.                per page.),
  970.            ∙   that the header or footer is only one line long,
  971.            ∙   that the  header or  footer always appears on the same line of
  972.                every page, and,
  973.            ∙   if you  do not  specify the  line number(s),  a running header
  974.                and/or footer  must occur  within the  first four pages of the
  975.                file
  976.  
  977.            If a  file meets  these criteria,  TextCon will remove the desired
  978.            lines very  accurately, usually  even combining  paragraphs across
  979.            page  boundaries.     If   a  file  diverges  slightly  from  that
  980.            description, TextCon  may erroneously  delete text  lines from the
  981.  
  982.  
  983.  
  984.        TextCon File Converter                                              16
  985.  
  986.  
  987.            file.   The best  advice is  to examine  closely any file that has
  988.            been created using this option.
  989.  
  990.  
  991.        3.  /Z#                          end-of-paragraph marker in input file
  992.  
  993.            This is  a very specialized option that would not often be used on
  994.            standard document  files.  It allows you to specify an alternative
  995.            character that marks the ends of "paragraphs" in your file.
  996.  
  997.            The character  is specified by means of its decimal ASCII code, so
  998.            for example,  /Z14 would  look for  a Ctrl-N  to mark  the ends of
  999.            paragraphs and  /Z35 would  look for the symbol #.  The only ASCII
  1000.            values not allowed are 0 and 255.
  1001.  
  1002.            When this option is used, TextCon will do two things differently:
  1003.            a.  treat all carriage returns as soft returns, removing them from
  1004.                the file (which means that it overrides the /KR option), and
  1005.            b.  treat all  occurrences of  the  specified  character  as  hard
  1006.                returns, removing  them  from  the  file  and  substituting  a
  1007.                carriage-return/line-feed pair.
  1008.  
  1009.            This option  can be  extremely useful  for certain  types of  file
  1010.            transfers, particularly those involving databases, certain desktop
  1011.            publishing  applications,  and  manipulations  of  bulletin  board
  1012.            message files
  1013.  
  1014.  
  1015.  
  1016.        OTHER USES FOR TextCon:
  1017.  
  1018.  
  1019.        TextCon users  have found  some ingenious  ways to  use the program --
  1020.        tasks for  which the program was not intended, but which it does quite
  1021.        well.  The following examples may suggest some additional ways TextCon
  1022.        can aid in your text processing work.
  1023.  
  1024.        1.  Use of the Keep Option
  1025.  
  1026.            TextCon's /K  option figures  prominently in most of these special
  1027.            uses.   If you use /K with all of its sub-options (/KBCDMORS), the
  1028.            output file  will be  identical to  the input  file,  with  a  few
  1029.            exceptions.   This would  seem to  be a  pointless  thing  to  do,
  1030.            unless, of  course, those  exceptions are  important to you.  They
  1031.            are as follows:
  1032.            a.  If the  input file  has lines  that end  with only  a carriage
  1033.                return, TextCon will add a line feed to each of them.  You may
  1034.                occasionally get  files of this type, from certain programs or
  1035.                from  other  computers,  and  you  may  find  that  your  word
  1036.                processor will not accept them without the line feeds.
  1037.            b.  TextCon deletes trailing blanks from each line.
  1038.            c.  WordStar files are always converted to ASCII.
  1039.  
  1040.  
  1041.  
  1042.        TextCon File Converter                                              17
  1043.  
  1044.  
  1045.            Each of  these conversions  can be  extremely useful  for  certain
  1046.            kinds of  files, even  when you  don't  need  the  carriage-return
  1047.            stripping that is TextCon's main purpose.
  1048.  
  1049.  
  1050.        2.  Adding Carriage Returns
  1051.  
  1052.            You may  sometimes get  files from  another computer where a line-
  1053.            feed character, rather than a carriage return, is used to mark the
  1054.            ends of  lines.   This causes  great  difficulty  for  some  PCDOS
  1055.            software.
  1056.  
  1057.            TextCon can  convert these  files by  use of  the /Z# option.  The
  1058.            decimal ASCII  code for  line feed is 10, so the full option would
  1059.            be /Z10.   You  may  also  want  to  use  /KBCDMS  to  keep  other
  1060.            characteristics of  the file intact.  The /Z# option overrides the
  1061.            /KR option.
  1062.  
  1063.  
  1064.        3.  Removing Blank Lines
  1065.  
  1066.            TextCon removes  multiple blank lines by default, but leaves up to
  1067.            two blank  lines separating paragraphs.  If you want to remove all
  1068.            blank lines  from a  file, use  the /P0  option.  One TextCon user
  1069.            needed a  count of  only the non-blank lines in an ASCII file, but
  1070.            couldn't find  a counting  program that  would  do  that.    Using
  1071.            TextCon with  /P0 and  /KR produced  a file  with all of the blank
  1072.            lines removed.
  1073.  
  1074.  
  1075.        4.  Tab Expansion
  1076.  
  1077.            For  certain   programs  and   certain  applications   it  may  be
  1078.            inconvenient to  have tabs in a file.  TextCon can remove them and
  1079.            expand them  to spaces  via the /T# option.  If you use this along
  1080.            with  the  /KBCDMORS  option,  the  output  file  will  be  nearly
  1081.            identical to the input file, but with tabs expanded to spaces.
  1082.  
  1083.            This option  can also  be useful when dealing with badly formatted
  1084.            files.   Some people create fully indented paragraphs by inserting
  1085.            a tab  at the beginning of every line of the paragraph rather than
  1086.            by using  their word  processor's indent function.  This creates a
  1087.            mess if  you have to edit those paragraphs or move them to another
  1088.            word processor.   TextCon will interpret them as individual lines,
  1089.            not as  paragraphs.   However, if  you use the /T# option, TextCon
  1090.            will correctly recognize them as fully indented paragraphs.
  1091.  
  1092.  
  1093.        5.  Converting WordStar files to formatted ASCII files
  1094.  
  1095.            TextCon can also be used as a general WordStar-to-ASCII converter.
  1096.            For this  purpose, you  should use  the /W and /KBMRS options.  If
  1097.  
  1098.  
  1099.  
  1100.        TextCon File Converter                                              18
  1101.  
  1102.  
  1103.            you want to keep some other characteristics, you might want to use
  1104.            the C, D, and O sub-options of Keep as well.
  1105.  
  1106.  
  1107.        6.  Formatting files for LePrint
  1108.  
  1109.            LeBaugh Software's  LePrint program,  for printing in high-quality
  1110.            fonts on  dot-matrix printers, was designed primarily for use with
  1111.            WordStar files.   It  will accept  ASCII files, but it is somewhat
  1112.            more difficult  to use  this way.   The  main way  that  LePrint's
  1113.            preferred input  format differs  from standard  ASCII is that soft
  1114.            carriage returns  should be  indicated by  the characters WordStar
  1115.            uses for that purpose.
  1116.  
  1117.            TextCon can  create a  file for  LePrint if you use the options /R
  1118.            /KBCDMS.
  1119.  
  1120.  
  1121.  
  1122.        REVISION HISTORY:
  1123.  
  1124.  
  1125.            TextCon 1.1
  1126.  
  1127.            This was the first version to be distributed as shareware.
  1128.  
  1129.  
  1130.            TextCon 1.2
  1131.  
  1132.            1.  Renamed the former /L option to /B.  Changed the /T# option to
  1133.                use true  tab stops.  Added new /L# option, as well as /H, /Y,
  1134.                and /R.
  1135.            2.  Expanded the  file  analysis  stage  to  determine  additional
  1136.                document  characteristics,   including  typical  line  length,
  1137.                standard margin,  recognition of  unformatted, formatted,  and
  1138.                print-formatted files, and header and footer locations.
  1139.            3.  Additional   fine-tuning   of   parameters   and   algorithms,
  1140.                particularly in  regard to  hanging indents,  centered  lines,
  1141.                table-recognition, and list items.
  1142.  
  1143.  
  1144.            TextCon 1.3
  1145.  
  1146.            1.  Renamed many  options.   /B, /C, and /S became the B, R, and S
  1147.                sub-options of  the new  /K (for  Keep) option.   /R was split
  1148.                into the  /F# and /H# options, both of which now accept a line
  1149.                number as  a parameter.   /D became /2, and /H became /X.  The
  1150.                renaming may  cause confusion  for users of previous versions,
  1151.                but it  was required to accommodate new options.  Such a major
  1152.                change should not be necessary again.
  1153.            2.  Dropped one  option.   /W was  no  longer  needed  because  of
  1154.                improvement in  recognition of  WordStar files.   However, see
  1155.                the new /W option below.
  1156.  
  1157.  
  1158.  
  1159.        TextCon File Converter                                              19
  1160.  
  1161.  
  1162.            3.  Added new  options.   /1 option  specifies single spacing.  /B
  1163.                specifies that  all paragraphs are block style.  /M# specifies
  1164.                the minimum  size of  the left  margin of  the document.    /W
  1165.                option specifies  different processing of WordStar files.  /Z#
  1166.                specifies that  the original  file has  a particular character
  1167.                that always  marks paragraph  ends.  /S# will split files with
  1168.                long lines  into shorter  lines.   The C  sub-option of the /K
  1169.                option specifies  that control codes are to be kept in the new
  1170.                file.
  1171.            4.  Automatic removal  of lines  that are  added  only  for  print
  1172.                emphasis.  In a file whose lines end in CR-LF pairs, these are
  1173.                easily recognized  because they are preceded by a line without
  1174.                a line feed.
  1175.            5.  Additional improvement  of decision  rules  and  general  fine
  1176.                tuning for better paragraph recognition.
  1177.  
  1178.  
  1179.            TextCon 1.4
  1180.  
  1181.            1.  Added the  /R option  as well  as the  D and  O sub-options of
  1182.                Keep.
  1183.            2.  Yet more  fine tuning  of the algorithms used, especially with
  1184.                regard to tables and tab insertion.
  1185.            3.  More complete  processing of WordStar files, including version
  1186.                4.0.
  1187.  
  1188.  
  1189.            TextCon 1.5
  1190.  
  1191.            1.  Optimized the program so that it now runs almost twice as fast
  1192.                as earlier versions.
  1193.  
  1194.  
  1195.            TextCon 1.6
  1196.  
  1197.            1.  Eliminated the  /M option; improvements in the program made it
  1198.                no longer necessary.
  1199.            2.  Program now  allows the use of the slash as well as the hyphen
  1200.                to denote options on the command line.
  1201.            3.  Rewrote  the  documentation  to  better  explain  some  common
  1202.                questions about the options.
  1203.            4.  Combined some  of the  DCA/RFT options of TextDCA to make them
  1204.                easier to use.
  1205.  
  1206.  
  1207.            TextCon 1.7
  1208.  
  1209.            (NOTE:   If you  used an earlier version and have not sent payment
  1210.            for your use, please consider doing so now.)
  1211.  
  1212.            1.  Added full  support for  wildcard filenames, to speed up large
  1213.                conversions.
  1214.  
  1215.  
  1216.  
  1217.        TextCon File Converter                                              20
  1218.  
  1219.  
  1220.            2.  Added the  /E option  and the  M sub-option of Keep.  Modified
  1221.                the S option of Keep so it does not affect the margin.
  1222.  
  1223.  
  1224.            TextDCA 1.7
  1225.  
  1226.            TextDCA is  a separate program, available directly from CrossCourt
  1227.            Systems for $35..  TextDCA has two features not found in TextCon.
  1228.            1.  DCA/RFT output  format.   The /D option specifies that instead
  1229.                of an  ASCII file,  the output  should be  written in  DCA/RFT
  1230.                format.  Most of the major PC word processors now support this
  1231.                format, which,  unlike ASCII  files,  can  contain  formatting
  1232.                information such as margins, centering, tab settings, indents,
  1233.                etc.   Now TextDCA  can pass  all this  information on to your
  1234.                word processor, saving a tremendous amount of reformatting.
  1235.            2.  Menu mode.   TextDCA permits optional menu-driven selection of
  1236.                processing options, for those who have trouble with its normal
  1237.                command-line syntax.   The  menu system  works only on IBM-PC-
  1238.                compatibles, not  on MSDOS  machines such  as the Wang PC, DEC
  1239.                Rainbow, TI Professional, Tandy 2000, etc.
  1240.  
  1241.  
  1242.  
  1243.        DISTRIBUTION AND SUPPORT:
  1244.  
  1245.  
  1246.        TextCon is Copyright 1986, 1987, 1988, CrossCourt Systems.
  1247.  
  1248.        If you  try TextCon  and find  it to be a useful and valuable product,
  1249.        please complete  your purchase  of it by sending payment to CrossCourt
  1250.        Systems at  the address  below.   For $25  you will  receive a printed
  1251.        manual and  the current  version of the program, without the on-screen
  1252.        payment reminder.   TextDCA,  described earlier  in  this  manual,  is
  1253.        available for $35.
  1254.  
  1255.        With your  purchase, you  will also  receive a  free IntroPak  for the
  1256.        CompuServe Information  Service, the  premiere interactive  electronic
  1257.        communication service.   CompuServe  provides news,  financial  infor-
  1258.        mation, entertainment  services, personal  computing services, special
  1259.        interest forums,  and more.  The IntroPak includes $15 of free on-line
  1260.        time.
  1261.  
  1262.        VISA and  MasterCard are accepted.  Volume discounts and site licenses
  1263.        are also available.
  1264.  
  1265.        In the  spirit of shareware, we believe that the value of a program is
  1266.        best determined  by you,  based on the number of copies you are using,
  1267.        the frequency  of use,  and the  amount of  time it  saves you.    Our
  1268.        business policy  is to accept payments both above and below the stated
  1269.        $25 price for TextCon.
  1270.  
  1271.        TextCon may  be distributed  to others,  as long as: 1) the program is
  1272.        not altered in any way, 2) this documentation file is always included,
  1273.  
  1274.  
  1275.  
  1276.        TextCon File Converter                                              21
  1277.  
  1278.  
  1279.        and 3)  no charge  is made  for such distribution beyond a modest disk
  1280.        preparation fee.  For bulletin board distribution, please use the file
  1281.        name TEXTCON.ZIP or TEXTCN.ZIP
  1282.  
  1283.        TextCon has  been tested  and performs  its functions  essentially  as
  1284.        described above,  without causing any damage to the computer in use or
  1285.        any of  its files.   However, all users are responsible for backing up
  1286.        their own  files, and CrossCourt Systems assumes no responsibility for
  1287.        any damage or losses incurred as a result of its use.
  1288.  
  1289.        CrossCourt Systems  supports TextCon,  by providing  technical  assis-
  1290.        tance, bug fixes, and enhancements.  CrossCourt Systems can be reached
  1291.        on CompuServe  at 72446,2704,  or at  the address and phone below.  If
  1292.        you encounter  problems with  any conversion,  or have suggestions for
  1293.        improvements, please let us know about them.
  1294.  
  1295.        CrossCourt Systems
  1296.        1521 Greenview Ave.
  1297.        East Lansing, MI 48823
  1298.        (517) 332-4353
  1299.  
  1300.        CrossCourt Systems  is  a  member  of  the  Association  of  Shareware
  1301.        Professionals (ASP),  a group  dedicated  to  high  standards  in  the
  1302.        design, documentation,  and support  of shareware products.  ASP wants
  1303.        to make  sure that  the shareware principle works for you.  If you are
  1304.        unable to  resolve a shareware-related problem with an ASP member, the
  1305.        ASP Ombudsman  may be able to help.  Please write to the ASP Ombudsman
  1306.        at P.O.  Box 5786,  Bellevue, WA  98006 or  send a CompuServe EasyPlex
  1307.        message to ASP Ombudsman 70007,3536.
  1308.  
  1309.  
  1310.        Other products from CrossCourt Systems
  1311.  
  1312.        TextOut/5 -  converts WordPerfect  5.0 or 5.1 files to ASCII, offering
  1313.        many of  the same  options as  ConvDW.   Its conversion  is much  more
  1314.        flexible than WordPerfect's own.  It also converts foot- and endnotes,
  1315.        text boxes,  and equations,  and formats  tables better  than WP does.
  1316.        Shareware found  as TXTOUT.ZIP  or TEXTOUT5.ZIP  on  bulletin  boards.
  1317.        Available for $20 direct (includes printed manual).
  1318.  
  1319.        ConvDW -  converts IBM  DisplayWrite 3  or 4  files to ASCII, offering
  1320.        many of  the same  options as  TextOut/5, including the generic-format
  1321.        option that  DW lacks.   IBM  does not  publish the  file  format  for
  1322.        DisplayWrite, so  ConvDW is  one of only a handful of programs, either
  1323.        shareware or  commercial, that  can read  DisplayWrite files.  Usually
  1324.        found as  CONVDW.ZIP on  bulletin boards.   Available  for $20  direct
  1325.        (includes printed manual).
  1326.  
  1327.        DisplayWrite Conversion  Package -  includes a  report describing  the
  1328.        format of  DisplayWrite files,  as well as Microsoft C source code for
  1329.        ConvDW, DWtoRFT, and DumpDW.  Call for information.
  1330.  
  1331.  
  1332.  
  1333.        TextCon File Converter                                              22
  1334.  
  1335.  
  1336.        DWtoRFT -  converts  DisplayWrite  files  to  DCA/RFT  using  wildcard
  1337.        filenames.   Great for  large conversions  from DisplayWrite  to other
  1338.        formats.  Available for $50 direct.
  1339.  
  1340.        ConvDCA - converts IBM DCA/RFT format files to ASCII, offering many of
  1341.        the same  options as  TextOut/5.    Usually  found  as  CNVDCA.ZIP  or
  1342.        CONVDCA.ZIP on bulletin boards.  Available for $20 direct.
  1343.